package br.edu.ufcg.dsc.services;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class BaseService {

	protected static EntityManagerFactory emf = Persistence
			.createEntityManagerFactory("sobi");
	protected static EntityManager entity = emf.createEntityManager();
	
	public static EntityManager getManager() {
		return entity;
	}
	
	
}
